x86: Directly clear all pending EOIs once MSI info changed
authorKeir Fraser <keir.fraser@citrix.com>
Tue, 26 Jan 2010 15:53:01 +0000 (15:53 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Tue, 26 Jan 2010 15:53:01 +0000 (15:53 +0000)
commit8594809ef2ad16c7086a949fae1f84e313c8facd
treee5af232e1bc4894ffebae8b868c55d0dfa67d496
parent47e24ad78cb9c1fa7ff1360fc1f1ce4c1525f24e
x86: Directly clear all pending EOIs once MSI info changed

As to unmaskable MSI, its deferred EOI policy only targets
for avoiding IRQ storm. It should be safe to clear pending
EOIs in advance when guest irq migration occurs, because next
interrupt's EOI write is still deferred, and also can avoid
storm.

Signed-off-by: Xiantao Zhang <xiantao.zhang@intel.com>
xen/drivers/passthrough/io.c